From Newsgroup: comp.theory
On 31/07/2026 12:45 AM, Mr. Man-wai Chang wrote:
On 7/29/2026 8:10 PM, Bonita Montero wrote:
Write a program that calculates the number of possible ways to
win a Tic Tac Toe round and the number of possible undecided
rounds. Don't show the code here immediately but after some
days. Just show the results.
C and C++ are allowed since the solution will be very similar.
Possibly a very famous assignment for students
doing computer science. But I have never ever
written a game.
I recommend the exercise. It's quite different from the "normal" type
of programming we do in every day programming. At least, those of us
who don't work at gaming companies.
In comp.lang.c, I recommend starting with /SDL Game Development/ by
Shaun Mitchell. I prefer that book over the lazy fu tutorial, or what-
ever it's called.
It should be trivial to port the code to SDL3.
That said, my professional game development "career" if we can use that
term, was limited to C# in then-Unity. Since then, Unity has changed
license terms, so I can't recommend it anymore.
Maybe I'll make a commercial game in SDL one of these years.
There's no C# group that I know of, so I'll add comp.theroy instead.
--
Johann | email: invalid -> com |
http://www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | via Easynews.com
--- Synchronet 3.22a-Linux NewsLink 1.2