i've made the game Othello in java and i need a way to display to the player, the move the computer did.
i can't just return a-6 or d-5 because the size of the board can be changed.
anyone has a way?
thank you in advance :)
no123
0
Newbie Poster
Recommended Answers
Jump to PostAnd you expect us to explain where your code should/could be imrpoved, without seeing your code?
Jump to Postpublic void moveToNewPosition(){ // insert magic implementation here }
All 5 Replies
stultuske
1,116
Posting Maven
Featured Poster
no123
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
no123
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.