All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
48
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to Your Announcements
My first game: TicTacToe
Your Announcements
Community
Started by
Csabi
October 02, 2010 04:50 AM
1
comment, last by
Csabi
13 years, 6 months ago
Csabi
110
Author
October 02, 2010 04:50 AM
This is the first game I `wrote: A TicTacToe game in C++. I wrote it when I known only the most basics of c++:
Tic Tac Toe
What do you think about it? :d
Cancel
Save
Check out my website:
Coding Mix
Advertisement
ProgrammerZ
180
October 02, 2010 06:23 PM
If I were you, I would store the game grid data in a 3x3 array, rather than using nine separate variables.
Cancel
Save
Csabi
110
Author
October 03, 2010 02:13 AM
In the second version of the game I`we used an array:
TicTacToe v2
Cancel
Save
Check out my website:
Coding Mix
This topic is closed to new replies.
Advertisement
Popular Topics
How do you manage yourself and your time as years pass on?
GDNet Lounge
Too many managers?
General and Gameplay Programming
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
New Generated Constructor & JIT Issue
AngelCode
Inheriting from application registered class
AngelCode
Advertisement
Recommended Tutorials
Expression-Bodied Members to Reduce Your Code Verbosity
General and Gameplay Programming
Shizmoo Games, 2003
Interviews
GPU Texture Snapshot
Engines and Middleware
Using an RTF Log File
General and Gameplay Programming
Is the Game Industry a Bad Place to Work?
Career Development
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top