Jump 'n' Run in your terminal
Dino is inspired by Chrome Dino Game. But instead of a dino the main player is a person (mainly due to the lack of creativity and also copyright issues :D).
The controls are rather simple:
space
to jumpesc
to exit
- Clone the repository
git clone https://github.com/simonkoeck/dino.git && cd dino
- Restore/install packages
dotnet restore
- Run the game
dotnet run
dotnet build --configuration Release
After running this command, an executable should be built to bin/Release/
.
See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build for more details.
Dino is available for
Windows
Linux
Mac
As long as your platform is supported by .NET, you can build dino.
Dino's whole game is rendered inside a console (System.Console Namespace). Due to performance issues, only the objects which are updated will be rerendered. Rendering is done using Console.SetCursorPosition
function.
The game difficulty is based on the score and decreases the obstacle instantiation timeout, which makes the game faster and harder.
Every contribution is welcome! Please commit any pull requests against the main
branch.