Inspiration
Code combat, Khan Academy, and other websites with the idea of a shell users can enter code into, which makes things happen in an output.
What it does
Enter commands(pre-built methods) to the player in the textbox in the form of actual python code, and the player will do things based on that. We originally wanted to have an instructions tab on the left to help the audience with learning but we ran out of time... Most of the player methods are incomplete except the move function.
How we built it
Using Pygame Grid style map and player were objects that we drew onto screen Input box was code from Stack Overflow: https://stackoverflow.com/questions/46390231/how-can-i-create-a-text-input-box-with-pygame
Challenges we ran into
Time crunch, not enough knowledge about pre-designed function modules in pygame and which functions and . It took a while for us to get the input box to actually send commands to the player.
Accomplishments that we're proud of
We got as far as we did in one day :)
What we learned
We learned about tkinter(specifically notebooks) and input boxes!
What's next for Mini coding platform
Get the tkinter hint window to show up more than once instead of being destroyed after the first instance is deleted Make actual instructions Add a green square as an endpoint Set boundaries for player so it can't travel off the grid Add obstacles that player has to go around Make different levels teaching different concepts(E.g variables, for loop) Possibly add more unique methods to player so it game has more flavour Add sound effects
Log in or sign up for Devpost to join the conversation.