CursorVsMan by monkeymad2
Hi,
I couldn't dedicate a lot of time to this Ludum Dare because I have exams next week...
Anyway, here's my game - you'll need cgywin if you want to turn it in windows since it uses the curses library.
You play a cursor trying to stop someone from typing a text file by messing with them a bit.
It's the "Tiny World" inside the computer, though that's a bit of a stretch.
Should work 100% fine on Mac and Linux if you have Python installed, windows will need to be run within cgywin (I think...)
To run go to a terminal window and type "python CursorVsMan.py readMe.txt", you can use pretty much any text file instead of readMe.txt!
I couldn't dedicate a lot of time to this Ludum Dare because I have exams next week...
Anyway, here's my game - you'll need cgywin if you want to turn it in windows since it uses the curses library.
You play a cursor trying to stop someone from typing a text file by messing with them a bit.
It's the "Tiny World" inside the computer, though that's a bit of a stretch.
Should work 100% fine on Mac and Linux if you have Python installed, windows will need to be run within cgywin (I think...)
To run go to a terminal window and type "python CursorVsMan.py readMe.txt", you can use pretty much any text file instead of readMe.txt!
Ratings
| Coolness | 36% | 809 |
| Overall | 3.05 | 387 |
| Fun | 3.24 | 193 |
| Graphics | 2.00 | 821 |
| Humor | 3.94 | 17 |
| Innovation | 4.24 | 19 |
| Mood | 3.14 | 182 |
| Theme | 2.15 | 804 |
That is a hilarious suicide note.
Fun game, I agree with the other poster that more strategy would make the game much more interesting
I was messing around with the arrows and got an exception (OSX Lion):
Traceback (most recent call last):
File "LudumDareTinyWorld/CursorVsMan.py", line 397, in <module>
curses.wrapper(main)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "LudumDareTinyWorld/CursorVsMan.py", line 290, in main
stdscr.move(cursor.row,cursor.col)
_curses.error: wmove() returned ERR
I recognize that traceback, too. With Curses, you not only get an exception if you try a row/column that's offscreen, but also can't write to the _bottom right corner_ of the screen either. Some incredibly ancient legacy thing; all my curses stuff adds an extra throwaway row to be safe.
It's a shameless plug, but if you'd like to checkout a cross-platform Python text console library, I've got one I've been developing for compos. My entry used it, you can see it at https://github.com/jtruscott/pytality .
Full marks for fun. I don't know if I've been more delighted with figuring out a game system during the whole competition. I'm weird that way, but this is awesome.
I actually started writing function for finding how close the letter you've typed is to the position the hands would be at at the keyboard, I was going to have the common ones slip under the suspicion better - but I don't think I actually implemented it.
I did use the function in reverse though, occasionally the AI will make typos using keys near the one they wanted - meaning the game will eventually win itself given a large enough text file...
Seemed to crash every time I pressed backspace, though. I also didn't quite get the logic of the user correcting the document, though. I mean, it just turns out a godawful mess anyway, especially if you move the cursor up and down. :D
Love it. Would've felt a little more genuine if the AI actually did a reasonable job correcting its mistakes, but it was hilarious nonetheless.
Some sound effects of typing and frustrated profanity would really add to the hilarity. Bravo!