Recent

Author Topic: Tic Tac Toe  (Read 6124 times)

KMagic

  • Full Member
  • ***
  • Posts: 100
Tic Tac Toe
« on: July 27, 2014, 06:24:11 pm »
  I am planning on writing a Tic Tac Toe game. I have never used graphic in my projects before. I want it to be a good looking game, not like a simple form with buttons on it. Could anyone suggest a way to do this, for example, a graphic component?

jls890

  • New Member
  • *
  • Posts: 22
Re: Tic Tac Toe
« Reply #1 on: July 27, 2014, 06:35:21 pm »
Hi.
I want to create a Tic Tac Toe program too. About 10 years ago I created a 3d tic tac toe using another launguage and now I wanto to port it to Pascal.
I think TPaintBox is a good option.
We can draw everything using it.
The best programming language is the one you know.

Rails

  • Guest
Re: Tic Tac Toe
« Reply #2 on: July 27, 2014, 06:37:50 pm »
Take a look at BGRABitmap before you decide.


jls890

  • New Member
  • *
  • Posts: 22
Re: Tic Tac Toe
« Reply #3 on: July 28, 2014, 01:27:07 am »
I think Rails is right. LazPaint uses this, and is the best paint I know.

This may help
https://www.youtube.com/watch?v=UP7d9HyTGlE

I added a picture of my old tic tac toe program to give an idea.
The best programming language is the one you know.

KMagic

  • Full Member
  • ***
  • Posts: 100
Re: Tic Tac Toe
« Reply #4 on: July 28, 2014, 04:26:29 pm »
Thanks everyone. I will take a look at your suggestions.

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: Tic Tac Toe
« Reply #5 on: August 03, 2014, 02:14:34 am »
If you want to do it in 3D, you can use BGRAScene3D of BGRABitmap. To do so, the program would create a new scene when the game begins, and would add progressively the elements on each turn. Here is a tutorial on this:
http://wiki.freepascal.org/BGRABitmap_tutorial_15
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018