Cycle The best rides are the ones where you bite off much more than you can chew, and live through it.
- Doug Bradbury -
Overview Cycle is a game where the players try to cut each other off using cycles that leave a trail behind them.
Cycle is played according to the following rules.
Players can move up, down, left and right... Player one moves using the W, S, A and D keys. Player two moves using the I, K, J and L keys. Each player's trail grows as they move. Players try to maneuver so the opponent collides with their trail. If a player collides with their opponent's trail... A "game over" message is displayed in the middle of the screen. The cycles turn white. Players keep moving and turning but don't run into each other.
Make sure you have dotnet 6.0 or newer installed on your machine. Open a terminal and browse to the project's root folder. Start the program by running the following commands.
dotnet build
dotnet run
You can also run the program from an IDE like Visual Studio Code. Start your IDE and open the project folder. Select "Run and Debug" on the Activity Bar. Next, select the project you'd like to run from the drop down list at the top of the Side Bar. Lastly, click the green arrow or "start debugging" button.
The project files and folders are organized as follows:
root (project root folder)
+-- Game (source code folder)
Casting
Directing
Scripting
Services
+-- Program.cs (program entry point)
+-- README.md (general info)
+-- Cycle-Prove.csproj (dotnet project file)
- dotnet 6.0
- raylib-cs 3.7.0.1
- Kevin Allred ([email protected])
- Sammie Atkins
- Michael Smith