Arran Farrell

Greenhorn
+ Follow
since Apr 18, 2016
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Arran Farrell


3 years ago
Im working on other projects so haven't got the time for a rewrite. Was hoping for a simple solution to what I've got but it seems thats not possible :L
3 years ago

Campbell Ritchie wrote:I am afraid there is. I can probably write all the code in an hour, but I have done it before so I might be quicker than you. You need to spend much longer thinking about the code than writing it. Start by writing down a description of the game. Then highlight all the verbs and all the nouns and show us what you highlighted.

The verbs and nouns technique is crude and simple but works well for a many smaller applications.




If it takes you an hour it'll take me a year haha
3 years ago
is there a lot of work involved in dividing this code up into classes ?
3 years ago
I wrote a program to play Tic-Tac-Toe and the command line and it works fine but its all one java file and I want to divide it into classes to make it more reliable.

Ive tried but have no luck so I'm wondering if anyone on here could show me what to do to sort it out .

Heres the code :




3 years ago