/    Sign up×
Community /Pin to ProfileBookmark

HELP programming "tic-tac-toe" with <canvas><canvas/>

Hi everyone, is this a right place to get help with javascript code? ?I’m a student from Lithuania and i need to make an artificial intelligence program. I selected a game [I]“tic-tac-toe”[/I]. I made it in a very simple way, game against friend, but professor doesn’t like it, she says that user should be able to play against pc. Problem is that i am not a programmer, and my javascript programming skills is very low.? I’m joined here to get any help from JS masters?
Folder of my files is attached below.
[URL=”http://dl.dropbox.com/u/22220298/tic-tac-toe.zip”]tic-tac-toe.zip[/URL]
Just extract a folder and run index.html to view it in browser. Code to play against opponent is in file “[I]code1.js[/I]” code to play against pc should be in file “[I]code2.js[/I]“.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @futbolinis spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...