Jump to content

Game Tic Tac Toe in java

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
Clavis

Clavis

    Newbie

  • Members
  • Pip
  • 4 posts
hi,
I am a student in Paris, can someone send me the code source for programming in java the tic tac toe game ( grid 3 by3 represented by X and O).
Many thanks
Clavis

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Welcome aboard! If you search for tic-tac-toe, you should find an implementation in one of the languages. Translating it shouldn't be hard.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Clavis

Clavis

    Newbie

  • Members
  • Pip
  • 4 posts
Thanks for your response.The language is java, i have no problem to translate in french, i need help to find the code source for programmingin java As you are acutely aware, it is a game by two players, let's say the first player is the computer, represented by 'O' and the other by 'X' .I think you have to use graphical interface.If anyone else on this forum has already this programming, his reply is welcome to guide me.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
No, I meant translating from C#/C++/VB/whatever to Java shouldn't be hard.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
Welcome to CC. The best way would probably be what WP says, there's a lot of tic tac toe games here, in for example Python, Visual Basic, C++. :D

#6
Clavis

Clavis

    Newbie

  • Members
  • Pip
  • 4 posts
thanks. IS there someone that can guide me to find the code source in java for Tic tac toe game?I am not good enough at this stage to translate from other languages to java.I am sure that there is someone on line that can help me.

#7
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
I found this tutorial in the tutorial section showing exactly how to do it :D

http://forum.codecal...ic-tac-toe.html

#8
Clavis

Clavis

    Newbie

  • Members
  • Pip
  • 4 posts
many thanks .God bless you