Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How to build a scrabble type of game with perlby KurtSchwind (Chaplain) |
on Apr 19, 2016 at 17:22 UTC ( [id://1160909]=note: print w/replies, xml ) | Need Help?? |
You don't mention which OS you are in. Or are you trying for something that's a bit more agnostic in terms of OS and make it a website? A perl back-end and a javascript front end is a nice portable solution. I see that many nice GUI libraries have been recommended. However I'm going to start somewhere else. My recommendation is for you to break apart your design a bit. Leave the GUI alone for a while. If you want to choose Perl for the backend, (and later the front-end) great. So start with the back-end since it seems that that's where you are most comfortable. Make it a command line interface and write system that can take that input and process what you want. Keep score. Keep track of the game. However you want to design this. Once you have the core functionality (classes or functions or however you are coding it) then you should be able to graft on a UI that interfaces with what you have and that choice becomes INDEPENDENT of your existing work to a large extent. And that's a Good-Thing(tm). Free the UI and the backend from any inter-dependencies if you can. My 2 cents.
-- “For the Present is the point at which time touches eternity.” - CS Lewis
In Section
Seekers of Perl Wisdom
|
|