@Theenash on Pineapple Chess GUI
I made a chess software called Pineapple Chess, this is my second ship on this project, this ship is the major change of porting it to the web. The summary will stay mostly the same for any newcomers to the second ship.
— SUMMARY —
So basically it’s like any other chess software but it is pineapple themed(don’t worry if you don’t like the way it looks you can switch themes)! With 3 themes: Light, Dark, and Pineapple! There is a 2 player mode, if you have 2 people in front of a computer, you can play against each other on 1 computer! With an optional board flip feature! You can play against bots, powered by Stockfish, you can play against bots with different difficulties. And this time built with Javascript. Basically the original version was made in Java, but in the last ship, I got a lot of feedback saying I should port this to the web, so I did!
— LINKS —
To Play on web:
Play now: https://shadowtech1234.github.io/pineapplechess/
— CHALLENGES —
Here are some challenges I faced.
-
When I first started porting this, I had to learn another brand new language that I had never used, which is JavaScript(last time was Java), so it took me a while to get used to it and progress was very slow at the start. Like a lot of hours I spent on the project was not really captured by Hackatime because I was on documentation and troubleshooting a lot.
-
A very, very big task was efficiency. JavaScript is very, very fragile. I had a lot of problems where it would always freeze and stop, which lead to phantom moves in chess and broke it a lot. Learning to code in JavaScript with this efficiency was a bit hard because I had to make sure everything was perfect and there was no holes in it. Like for example in Java, I just coded in whatever way works, and there probably was holes and leaks in that but it wouldn’t be noticeable, in JavaScript it was the complete opposite. (This is what I noticed when I coded, I don’t know if this is factual that JavaScript is very hard when coding to make sure it’s efficient, it might just be me)
-
Another problem was when I tried putting this on GitHub Pages, because the source for it had to be like in one folder I had to rearrange my code and rewrite some parts to make it work on GitHub Pages,
-
The last challenge I faced was stopping. This is the same as last time. I have a lot of ideas to add to this, but I realized that if I did all of it, it would be a waste of time. This includes adding a evaluation bar, game export and import, game analysis, and maybe multiplayer. Working on this is a fun side project but I don’t have the time to work on it as much right now as I have a lot of work from school, and Stardance is ending soon anyways, so I wanted to get it as polished as possible and ship it.
That’s basically it. I had a lot of fun making this, it’s not much but I will add features in the future, maybe in the next Hack Club event. Thank you!
- 1 devlog
- 6h
- 8.66x multiplier
- 64 Stardust