CS 18 (Spring 2026) Project 02: Text (Game)

In this project, you will implement text!

Code Correctness

Goals and Deliverables

This week, you will render text onto your screen!

Text

We expect your game to contain (at least) the following:

Here are a few hints for how to implement timer.c:

Feel free to play around with different fonts and images! As long as you meet the above guidelines, you are free to use different assets.

For some help, take a look at the wiki page on SDL2 text and some resources our website!

To compile timer.c you still want to use the same command make game. Once you navigate to the link printed to the shell (the last line before “Serving HTTP on …”), click the compiled timer.game.html file.

Once you are done, push your code to GitLab.

Once all your group members have finished, work with them to complete the extension (more information in the main project page).