Jump to content
  • Advertisement
Sign in to follow this  

Easiest way to add text to tetris game using SDL for graphics

This topic is 2349 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


I'm currently writing code for a tetris sampler which can then be used to train a tetris controller using samples of games played.

I'm not really interested in the graphical side of the game (as I will not be displaying graphics when I sampling games) but it will be extremely helpful for debugging to have a basic graphical interface.

I have found a nice and simple implementation of tetris at


and it has pretty much everything I want with the exception of writing text on to the screen. I just want to be able to write some simple statistics to the screen for debugging purposes.

What is the easiest way to obtain such functionality?


[size=2]Don't marked threads "solved" here. -- jpetrie

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!