Skip to content

nikamsv84/APFinalProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Poffer Game Project

How the Application Works

1. IP and Port Window

2. Welcome Window

3. Sign-Up Window

4. Login Window

5. Game Menu

6. Game Window

7. Game History Window

8. Edit Profile Window

9. Exit Window

10. Programmers


IP and Port Window

In this window, you must first enter the IP address of the game server,
and then enter the connection port, as shown in the image below:

IP and Port Window

If the image doesn't open, here's the link:

Welcome Window

After connecting to the server, you will be directed to this window.
If this is your first time entering the game, you need to sign up.
If you already have an account, you can log in.

Welcome Window

If the image doesn't open, here's the link:

Sign-Up Window

In this window, please enter the required information.
If the entered username is already taken,
an error message will appear in the black label at the top of the screen.

Sign-Up Window

If the image doesn't open, here's the link:

Login Window

In this window, you must enter your username and password.
If you have forgotten your password,
you can click the "Forgot Password" button to open the recovery window and reset your password.

Login Window

If the image doesn't open, here's the link:

Forgot Password Window

If the image doesn't open, here's the link:

Game Menu

In this screen, you can choose one of the available options:
entering the game field, editing your profile, viewing game history,
or even exiting the application.

Game Menu

If the image doesn't open, here's the link:

Game Window

On this page, you can see your status at the top-left corner of the game page, and your competitor's status is at the top-right.
At the bottom of your status, there is a count of your wins, and similarly for your competitor.
At the top of the page, you can see a round label indicating the current round, which changes after 5 hands.

Below "Your Wins," there are some rectangles that show the cards you selected in each round. When the round changes, these rectangles are cleared.

Initially, when you enter the game page, your "status" will be "your turn."
If your "status" is "first player," you can press the "Card request" button.
If your "status" is "second player," you won’t be able to use the "Card request" button, and your competitor can press it instead.

During each hand, the player whose "player status" shows "first player" must press the "Card request" button once.

In each hand, you need to select one of the cards on the playground by clicking on it and then pressing the "send change" button.

If you want to exchange one of your cards with your competitor, first enter the number of the card you want to change in the line edit opposite "enter card you want to change:" and then press the "change request" button.

When you send your "change request," the information about your card will appear for your competitor in the line edit opposite "your competitor wants to give this card:".

If your competitor does not want to exchange cards, They can press the "not changing" button, informing you that They do not want to exchange.
If your competitor also wants to exchange, They can enter the number of their suggested card in the line edit opposite "enter card you want to change:" and then should press "change request."
then, to complete the "card replacement", you must press the "Change Card" button and also press the "ok Changing" button.

Once you receive your competitor’s card data in the line edit opposite "your competitor wants to give this card:", if you agree with the exchange, you can press "ok changing" and then "change card."
If you do not agree, you can press "not changing."

The "show result" button displays the result of each round.
The "final result" button displays the overall winner after three rounds, determined based on your username shown in your status.

The buttons "stop_resume" and "exit" are used to pause/resume and exit the game window.

And the last tip for this section is this: whenever a button is disabled, its color will change to brown.

Game Window

If the image doesn't open, here's the link:

Game History Window

Clicking on the "recent games" button in the "Game Menu" allows you to see the results of the three most recent games.

Game History

If the image doesn't open, here's the link:

Edit Profile Window

Here, you can select which field you want to edit, input the previous data and new data, then click "edit."

Edit Info

If the image doesn't open, here's the link:

Exit Window

If you click the "exit" button in the "Game Menu" page, you will exit the game.


Programmers

Thank you for reading this readme file and reviewing our project.
The programmers of this project are myself,"Tina Moradi," and my friend, "Nika Mousavi." We did our best for this project.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors