sudoku

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 567
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

sudoku

Post by Vegan »

I guess if I want to post a puzzle solver I will need to draw the game board, but each cell needs to be editable so I can accept the input to the solver

thoughts?
Hardcore Games™ Legendary is the Only Way to Play™
User avatar
Christopher
Site Administrator
Posts: 13595
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: sudoku

Post by Christopher »

Use Javascript to make the cells editable. You could write the whole solver in Javascript, or make Ajax calls back to PHP code.
(#10850)
User avatar
Vegan
Forum Regular
Posts: 567
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: sudoku

Post by Vegan »

ya, I was thinking that after making editable cells I could use more functions to actually solve without needing AJAX etc

I was simply considering how to leverage the logic I have to maybe do an article on game programming etc
Hardcore Games™ Legendary is the Only Way to Play™
User avatar
Christopher
Site Administrator
Posts: 13595
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: sudoku

Post by Christopher »

Post a link to the article if your write one.
(#10850)
Post Reply