code / tomo-game

Lines231 Tomo187 Text18 Markdown16 make10
(14 lines)

Example Game

This is a simple example game written in Tomo that uses raylib to demonstrate a project that spans multiple files and showcases some game programming concepts used in idiomatic Tomo code. It also showcases how to interact with an external C library. To run the game:

tomo game.tm

An example Makefile is also provided if you want to use make to build the game and make clean to clean up the built files.

1 # Example Game
3 This is a simple example game written in [Tomo](https://tomo.bruce-hill.com)
4 that uses [raylib](https://www.raylib.com/) to demonstrate a project that spans
5 multiple files and showcases some game programming concepts used in idiomatic
6 Tomo code. It also showcases how to interact with an external C library. To run
7 the game:
9 ```bash
10 tomo game.tm
11 ```
13 An example [Makefile](Makefile) is also provided if you want to use `make` to
14 build the game and `make clean` to clean up the built files.