I made this for another ysws program(soo demotivated after rejection). But yeah here’s how the idea came to be and my journey to make this.
Initial Plan:
To make a card highlight menu themed website that has options to launch different programs mainly first thought was making a Morse-code program and some space landing game (postponed)
And I would only use a single key for menu control, launching the program and for in-program movement
Ended Up:
The design changed to more like key-caps design then cards..
Becoming a circus mania of different programs:
I intent to further work on this maybe as a personal site or for another ysws
Tech Stack Decisions:
“Tony Stark was able to build this in a cave! With a box of scraps!”
Yeah… But I am not Stark so here’s the thing I don’t know JavaScript….
So since I am comfortable with Python I used an alternate i.e Python’s web suit Brython and since I was actively working on a Pygame project hence this decision just so not to break the flow. If you know what I mean.
Brython Flow:
Brython allowed me to structure logic cleanly using python’s standard libraries while directly manipulating the browser DOM (Document Object Mode)
But but but the main problems I faced where in Brython I’ll explained in the CHALLENGES down below.
The Project workflow as a whole:
The main backbone sits in index.html and is the host that allows programs to run which are coded in .py file (i.e using Brython).
Active window listeners are placed that lookout for a key-down press and key-up and observes the time interval.
Time Interval per press is used to determine the menu navigation and working in the programs (to each its own rules apply)
CHALLENGES:
Window listeners:
Brython Scope and Variable Hangs:
KEY LEANINGS AND TAKEAWAYS:
WHATS NEXT?
Honestly so demotivated after my submission got rejected from another program even though I contested for little to no AI usage/slop.
But I’ll think about working on the following:
I am working on Terminal Based AI i.e Cli based. This is my first terminal app/AI project that I am making in python hence I am learning RICH and CLICK libraries for this. Right now I am working on the AI entity… That will appear and have different states of animation for ‘idle’ , ‘thinking’ etc. and this window will run once the AI is run in terminal. I have made the idle version in pygame as I have been recently active in game development. AGAIN: Every thing in this project is also progress of my learning side by side
Wizzardium Walk-iousa: You are a walker, Harry!