PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Jul 23, 2018 6:48 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: sudoku
PostPosted: Mon Jun 18, 2018 11:01 am 
Offline
Forum Regular

Joined: Fri Sep 05, 2008 3:34 pm
Posts: 528
Location: Victoria, BC
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!
Vegan Advocate 16 lbs grain to make only 1 lb meat, water for 6 months of showers and 34.1 lbs carbon dioxide
My sites are made with WordPress, which is a content management system which now accounts for more than 60% of all websites


Top
 Profile  
 
 Post subject: Re: sudoku
PostPosted: Mon Jun 18, 2018 5:25 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13570
Location: New York, NY, US
Use Javascript to make the cells editable. You could write the whole solver in Javascript, or make Ajax calls back to PHP code.

_________________
(#10850)


Top
 Profile  
 
 Post subject: Re: sudoku
PostPosted: Thu Jun 21, 2018 11:45 am 
Offline
Forum Regular

Joined: Fri Sep 05, 2008 3:34 pm
Posts: 528
Location: Victoria, BC
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!
Vegan Advocate 16 lbs grain to make only 1 lb meat, water for 6 months of showers and 34.1 lbs carbon dioxide
My sites are made with WordPress, which is a content management system which now accounts for more than 60% of all websites


Top
 Profile  
 
 Post subject: Re: sudoku
PostPosted: Thu Jun 21, 2018 7:44 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13570
Location: New York, NY, US
Post a link to the article if your write one.

_________________
(#10850)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group