Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to build a scrabble type of game with perl

by KurtSchwind (Chaplain)
on Apr 19, 2016 at 17:22 UTC ( [id://1160909]=note: print w/replies, xml ) Need Help??


in reply to How to build a scrabble type of game with perl

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

Replies are listed 'Best First'.
Re^2: How to build a scrabble type of game with perl
by Anonymous Monk on Apr 20, 2016 at 00:37 UTC
    Hi KurtSchwind, thanks for your suggestions, at the moment I am not sure about the platform I am targeting. At the back of my mind I would like to develop the whole thing so that it can be played via a webpage so that I can share with the world the tweaks that I want to introduce e.g change things that frustrate me with the game. As you emphatically suggested I will now focus on figuring out the mechanics, with input just from the command line, and try to make something that works. I might use the Games::Literati module suggested above or the script that was linked above, but I might try my luck with writing the whole thing from scratch. Kind Regards Demeter

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1160909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-03-28 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found