https://github.com/cm0use/tortoise-and-hare
The Tortoise and the Hare, no 3D or third party libraries, just the standard functions provided by the compiler.
https://github.com/cm0use/tortoise-and-hare
cpp cpp-game cppgame tortoise-and-hare-algorithm
Last synced: 10 months ago
JSON representation
The Tortoise and the Hare, no 3D or third party libraries, just the standard functions provided by the compiler.
- Host: GitHub
- URL: https://github.com/cm0use/tortoise-and-hare
- Owner: CM0use
- License: gpl-3.0
- Created: 2023-03-13T04:14:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T20:37:08.000Z (about 2 years ago)
- Last Synced: 2025-01-09T21:32:03.013Z (12 months ago)
- Topics: cpp, cpp-game, cppgame, tortoise-and-hare-algorithm
- Language: C++
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The Tortoise and the Hare
The tortoise and the hare challenge each other to a race to see which of them is faster.
Features •
Requirements •
Compile & Run •
Contributing •
License

## Features
* You can change the size of the map, in which position they will start/finish.
* How the animals will look like in the race.
* You can also change the speed at which they go.
* Easy to modify.
* Cross-Platform
- Windows, macOS and Linux.
## Requirements
* g++
* git (optional)
## Compile & Run
To **clone** and **compile** this game, you will need to have **git** and **g++** installed on your computer.
From your command line:
```bash
git clone https://github.com/CM0use/Tortoise-and-Hare.git
cd Tortoise-and-Hare
g++ -O2 -std=c++2a src/main.cpp src/utilities.cpp -o TortoiseAndHare
```
Run on **macOS & Linux**:
```bash
./TortoiseAndHare
```
Run on **Windows**:
```cmd
TortoiseAndHare.exe
```
## Contributing
**Any contribution you make will be greatly appreciated.**
If you have any ideas/suggestions to improve this repository, make a fork and create a pull request.
You can also open the issue tracker to report any improvements or bugs.
## License
**Distributed under the GNU General Public License v3.0**
See accompanying file LICENSE
or copy at GNU General Public License