Archive for the ‘C’ Tag

More pong updates   Leave a comment

My Curses based pong clone is coming along rather nicely, I’ve made many improvements to the codebase, and also added a proper interface.

See the ball and paddle? They move!

Changes:

  • Added menu system
  • Added “fancy” background in the menu
  • Added proper build system
  • Added  the ability to customize the size of the playing field
  • Tidied up the code
  • Messed it up a bit more :D

It’s been a very educational experience working with ncurses and C, which are both very new to me, but I’m getting better at interpreting gcc’s error messages… often 10 lines of error can be generated by something as simple as a missed closing bracket! I also finally got around to writing a makefile for the project, which simplifies the task of building it quite a lot. make debug is all I need to get debuggable code ready.

That’s all for now, I plan to post something on the actual game mechanics sometime soon, as always, you can enjoy the game by grabbing it from github

Posted 01/07/2010 by Emmanuel Jacyna in Code, Games

Tagged with , , , , , , , , , , , ,

The Rest Period and Pong   2 comments

Wow, haven’t posted in a while, but rest assured, I’ve been pretty busy! I’ve had a bunch of tests and exams recently in school, so I’ve had less time to work on things digital, but I’ve still managed to accomplish a fair bit.

I’m still working through SICP, I’m working on the part about data structures for sets.
I have done a total rewrite of my NCurses PONG Clone, and present to you the result:

Coxswain is winning!

I’ve got AI, a scoreboard and a few other things which I’m currently working on, check out the code at github

Posted 11/06/2010 by Emmanuel Jacyna in General Life

Tagged with , , , ,