Sunday, June 16, 2013

got some gtk starter code from github

First I thought I would edit Simon Tatham's Portable Puzzle Collection but there are so many lines of code in there I don't want to get involved in it. So I found a tic-tac-toe implementation in github which can be compiled with

gcc `pkg-config --cflags --libs gtk+-3.0` main.c

it just uses labeled buttons instead of nice graphics so next I'll make it use pictures on the buttons instead of labels.
  1. http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ 
  2. https://github.com/niyasc/tic-tac-toe

No comments:

Post a Comment