PlayPig - // Creates the Pig game object and plays the game.

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // PlayPig.java Author: Lewis and Loftus // // Solution to Programming Project 4.4 //******************************************************************** / class PlayPig { //-----------------------------------------------------------------
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // Creates the Pig game object and plays the game. //-----------------------------------------------------------------public static void main (String args) { Pig game = new Pig (100); game.play(); } }...
View Full Document

Ask a homework question - tutors are online