You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 36m 26s logged

We’re done!

After covering a lot of work over the past few days and facing multiple issues, I’m done. I’ll send a demo link and share more details tomorrow in the morning but overall, it has all been about getting all the code to work and co-exist with each other.

Some screenshots and a personal score tracker of your overall score, i hope it’s good.

It was pretty cool working on a project like this!

any issues?

I just faced some issues with my keyboard absolutely blowing up and some other hiccups I made in the code. Otherwise, I had some issues with the movement for the arrow keys and a little with regards to the movement of it.

Follow along for more! @Danu.journey on instagram

0
0
2
Open comments for this post

38m 2s logged

Finally cracked it

I re-shifted the code in multiple places, and it worked. All I have to do now is clean it up and make it seem more user-friendly, if you do have tips, do let me know! Since i’m basically done here, do follow along for more!

:ps1hagrid: ps: i’m still using Pyodide

0
0
25
Open comments for this post

55m 26s logged

Devlog 2 python 2048 game

Right, so to discuss what changed and what’s wrong?

What changed?

I’ve just switched out the Brython for Pyodide script now, which is all good; it’s working pretty well, and hosting isn’t an issue either.

The 4*4 table is set too! With loads of div containers.

What’s wrong?

I’m extremely unsure why exactly are there no boxes appearing like the 2, 4, 8, etc. and it has been that way for the past 1 hour and I’m unable to find a solution!

Thanks for reading and follow along! My username is @Danu.journey on instagram I post loads of different content about engineering and other disciplines!

0
0
12
Open comments for this post

42m 6s logged

New web game!

:party:

Here we go! So initially, I came up with the idea of having a Python web game, which would be a 2048 game, something I did work on around 4-5 years back when I was a kid, toying around with code.

How am i going to run it?

So instead of someone just opening the file straight up, you run a small command in your terminal or the command prompt.

python -m http.server 8000

when you run this it just starts everything up for you and you don’t really have to focus on it with a headache!

What’s the issue?

I used an on-the-fly translator, aka Brython, which is a widely available resource i used - CDNJS library.
Unfortunately, it’s getting blocked by my browser, and so is it for a few others. I’ve decided to switch it out for Pyodide which acts as a WebAssembly, basically packing Python as an engine and putting it into a web page (for everyone to use and understand)

What’s next?

Well, since I came across a mix of errors i’m going to be re-editing the code and breaking stuff up into different parts to adjust things for Pyodide!

Thanks for reading!

Thanks for reading my Devlog! If you did find it interesting, do follow my professional account on Instagram @Danu.journey i’m going to be posting some of my work there too! If you’d like to add me on LinkedIn, my username is Daniyal Ali. See you around i hope you tag along on the journey! :bye:

0
0
144

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…