#My first actual JS project - a simple Chess game

15 messages · Page 1 of 1 (latest)

median prism
#

I made this project mostly because I like Chess and wanted to learn more about JS and coding in general. I am still a beginner, so the code is probably going to messed up lol, but I would love it if you give the game a try and could give me some feedback!

you can play the game here: https://astralchess.com
Code: https://github.com/Astro-it/AstralChess

mental timber
#

i don't know how to play chess, although you said you're still beginner but looking at your project feels like you build something beyond, you're not a beginner,

How long have you been coding?

median prism
#

Thank you! I have been coding for around a year probably a bit less, though I have been pretty inconsistent at the start.

placid atlas
median prism
#

I would say start with learning some basic concepts that most programing languages have, like functions, datatypes, if statements and so on. You can do that through Youtube videos or just by searching it up and look through forums and other things that explain the concepts. After you got a general understanding of these concepts, I would recommend you start learning some basic syntax for JS and every time you learn something new. For example, let's say you learn something new through a Youtube video, don't just copy the thing in the video, actually try to use those things, like experiment with them until you actually understand how to use them. One of the most important things is building things with the language you want to learn don't just endlessly watch videos or search for stuff, actually use the knowledge you got to make things, even if it's something simple like a to do list, if you have a problem try to solve it by making something with JS or any other programming language. Also I would recommend not using AI that much while it might be tempting to just ask AI for something try to figure it out yourself or searching it up through regular means. I'm not saying AI is bad, AI is pretty good when it comes to teaching stuff, but AI can get things wrong too and if you rely to much on AI then at that point you aren't coding you are just prompting, it's best to use AI for trying to understand concepts and stuff like that, also if you use AI always tell the AI to explain the code that it generates and why it uses that code instead of that and so on. One two sources that I can recommend for learning JS, One is a Youtube video https://youtu.be/lfmg-EJ8gm4?si=TzCCY4_DgQmp8dtH
This Youtube video is very long, but if you just finish half of it you should be able to understand allot about JS, at least the basics
and the other one is a website that is pretty good for learning JS or programing languages in general https://www.w3schools.com/js/default.asp

#javascript #tutorial #course

⭐Time Stamps⭐
#1 00:00:00 JavaScript tutorial for beginners 🌐
#2 00:12:32 Variables 📦
#3 00:25:20 Arithmetic operators ➕
#4 00:33:47 Accept user input 💬
#5 00:39:09 Type conversion 💱
#6 00:44:48 Constants 🚫
#7 00:52:30 ⭐ Counter program 🔢
#8 01:01:46 Math object 🧮
#9 ...

▶ Play video
#

I would recommend using w3schools whenever you don't understand a method or some other thing to get a general grasp on how the thing works.

#

If you need any help you can dm me too I'm happy to help as long as I am able to

elfin cryptBOT
#
Please refrain from moving to DMs when helping!
💠💠💠

Asking users to DM you is against the spirit of the server. This prevents others from being able to learn from your help and also prevents mods from
being able to help and protect against spam. Additionally, others wont be able to chime in if they notice an issue with your approach or an alternative method.
In general, questions posed on the server should stay on the server.

neon gust
#

There's also plenty of coding sites that give free javascript courses with practical application tests throughout

woven maple
#

but the black overlay is covering some part of the chess board

median prism
#

Thanks for the review, I will fix the overlapping issue soon.