This game is inspired by - Soccer Stars by Miniclip
This is a multiplayer - online and offline game made using the library graphics.h.
Check out Air_Hockey from SAHAS-Arcade first.
See this to compile to locally.
- Both players have 5 strikers each. Players can shoot the strikers by holding left click on any of their strikers and then releasing it.
- Initial turn to shoot the ball will be random.
- There is a 90-sec timer before the game ends. The aim is to score more goals than your opponent.
- More the distance the mouse is pulled backwards, higher the force with which the striker is shot (Like a slingshot). But, the strikers have a maximum speed and pulling the mouse further won't increase the speed any further.
- The yellow line with arrow head shows the direction in which the striker will be shot if released from the current position.
- Right-click to switch from current striker to choose another one.
- After a player shoots, the next player gets to shoot the ball after all the strikers and the ball on field have stopped moving.
- The pink arc around the strikers shows the time left for the player to shoot the ball. If it becomes 0 then the player runs out of time and the next player gets the turn to shoot.
- Goaling in the first shot will be considered a foul and kick-off switches to other player.
Note:- Make sure to have the resources folder in the same directory as "Soccer Stars.exe".
Online:-
- Start server.exe and enter port_no for server.
- Set the Gamemode to Online.
- Enter ip of server in which server.exe was started, then enter the port no.
- Wait for another player to join and matchmaking.
Choose gamemode - Online or Offline or Quit from game.
Choose the colors of Strikers.
- Pressing Escape between the game will pause the game and a dialogue box with menu options will be shown.
- Pressing Escape again or pressing enter on resume option will resume the game again.
- Options can be switched using arrow keys and to choose an option Enter Key is pressed.
- Reset - restarts the whole game including goals, initial position of strikers, ball and Timer.
- Settings - open the settings tab to change colors in between the game.
- Quit - goes back to the Main Menu page.

![]() |
![]() |
|
![]() |
![]() |




