Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is a java Program Game You will develop an internet two-player game called the wolf and the sheep. The game is a board game

this is a java Program Game

You will develop an internet two-player game called the wolf and the sheep. The game is a board game which looks similar to what is shown below. The sheep, bottom yellow can move diagonally forward or backward. The wolves, top green can only move diagonally forward. The game ends when the sheep has passed the wolves (sheep win) or the sheep cannot move anywhere (wolves win).

image text in transcribed

The user will have to log in with a user name and password or create an account. The user data will be in a database, like SQL Server or Oracle or mySQL. Each user account will store the number of games played, date the account was created, the date of the last login, as well as number of wins and losses.

A sequence of steps may look like the images below (steps 1-6, top bottom, right to left). Movement of characters will be drag and drop and only legal moves will be allowed. Illegal moves will generate aJOptionPane error message. The drag and drop will be implemented on both players machines. Both players will see the movement of a piece. The game will be played on two computers.

The game will determine if there is a winner after each move is made. In case of a win the winner and loser will have their data updated in the database.

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago