Python game help needed?

B

Bill Dandreta

I would like to write a wordsearch puzzle game in Python that functions
like this java program:

http://javaboutique.webdeveloper.com/WordSearch/

I would like it to be cross platform (Linux, Windows, Mac).

I don't know how to get the graphics effect with a bounding box around
the words.

Any suggestions would be greatly appreciated.

Bill
 
G

Gerrit

Bill said:
I would like to write a wordsearch puzzle game in Python that functions
like this java program:

http://javaboutique.webdeveloper.com/WordSearch/

I would like it to be cross platform (Linux, Windows, Mac).

I don't know how to get the graphics effect with a bounding box around
the words.

Any suggestions would be greatly appreciated.

Look for pygame (http://www.pygame.org/). It's great and crossplatform,
although I think Mac OS 9 support is lagging a bit behind.

Gerrit.

--
Weather in Twenthe, Netherlands 28/09 08:25:
15.0°C mist overcast wind 3.6 m/s SW (57 m above NAP)
--
In the councils of government, we must guard against the acquisition of
unwarranted influence, whether sought or unsought, by the
military-industrial complex. The potential for the disastrous rise of
misplaced power exists and will persist.
-Dwight David Eisenhower, January 17, 1961
 
B

Bill Dandreta

Gerrit said:
Look for pygame (http://www.pygame.org/). It's great and crossplatform,
although I think Mac OS 9 support is lagging a bit behind.

I did not want to use an external module. I've been trying to do it with
a Tkinter canvas.

It shouldn't be that difficult to do. When the user clicks the mouse on
one letter, that letter become an anchor and as the mouse moves I need
to determine which letters intersect the imaginary line connecting the
current mouse position to the anchor and draw the bounding box around
those letters.

The problem is I don't know how to do it using Tkinter canvas events.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,209
Messages
2,571,086
Members
47,683
Latest member
AustinFairchild

Latest Threads

Top