Learn to build an 8-ball pool game from scratch with HTML5 and Javascript. Part one of a three part series.
Part 2: https://youtu.be/Am8rT9xICRs
Part 3: coming soon
🔗Github repo: https://github.com/henshmi/Classic-Pool-Game
🔗Game demo: https://henshmi.github.io/Classic-Pool-Game/
⭐️ Tutorial created by Chen Shmilovich.
🔗Chen’s YouTube channel: https://www.youtube.com/channel/UCLUtNUb2G2XHp9Zty__D3xw
🔗Chen on LinkedIn: https://www.linkedin.com/in/chen-shmilovich/
—
Learn to code for free and get a developer job: https://www.freecodecamp.com
Read hundreds of articles on programming: https://medium.freecodecamp.com
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
source
Nice another project to work on,Nice upload!
this is great project! thanks for this!
stay awesome man!
great. thanks for the video.
waitng for the part 2
Great Project Waiting for part 2.
Cool little project. The game (even on easy) is quite challenging.
Thank you freeCodeCamp for sharing my tutorial!
Hope you all like it.
I upload videos on a weekly basis to my channel, feel free to follow.
If you have any questions, please do not hesitate and leave a comment. 🙂
great video, thanks
this is awesome…
I'm not sure if changes at 22:49 are the best way to handle it. I looked for this part of the code on your repo but couldn't find it. I wanted to run multiple game at the same time to learn about NEAT (Neural networks stuff for the once who haven't heard of it). With your approach I won't be able to have simultaneous games because those functions will work on the PoolGame variable always instead of working on their specific Game object. Do anybody knows how to correct this?
Wahaha, amazing! Thanks very much 🙂 It really show that the possibilities are endless!
Thanks you for this, Nice one
Excellent!
Has this project gotten anyone a job yet?
Thank u for this awesome video
Looking forward to go on with part two. Great way to teach. Thank you
This is really helping me to learn JS, thank you for the detail in describing how each line of code effects the game! Awesome job!
Thanks for the project! I'm about 22 minutes in, I tried opening the file in my browser but I get an error message that "callback" is not a function (assets.js, line 9). Anyone know what the issue is here?
When will the second part likely be available? 🙂 I love this project!
Thanks for this great project. That's help me lots. And when will you update the Part2. 🙂
Thks waiting for part two
Great project, kind of hard for a beginner as i'm unfamiliar with a bunch of terms used here. It follows the "just copy me and i'll explain later" pattern of a lot of tutorials, which for me don't really work as well as explaining everything thoroughly as it is being done. Great initiative however, looking forward to part 2.
stolen video
Outstanding Tutorial. Guys Check out here the COMPLETE JAVASCRIPT COURSE WITH PROJECT: "TYPING TEST APP" INLCUDED:
http://bestwaytolearnjavascript.blogspot.com/2018/05/best-way-to-learn-javascript-for-beginners.html
When's part II coming? Really anxious to see the finished product!
hi, i have a question,
i'm doing a Demo Quiz with javaScript, but i stuck in one place i don't know what to do.
i made just 3 questions and i made all the functions and everything works very well, BUT i want to add to each question a value, for example, the first question = 5 the second = 2 the third = 8 etc.
now my problem is that i couldn't do that, i want every time the user clicks on the correct answer he will get the value of the question if it's correct then he will get +5 if not he will get -5 (for example).
in the end, he will has the scour of the correct questions and anther scour of the Wrong answers.
i feel i tried every thing and i couldn't do it!
thank you in advance.
part 2 please <3
I don't see the point of creating the entire class for Canvas2D, since
document.quarrySelector("screen").getContext("2d") already has the reference to the html <canvas> element and is itself a context with all the function to draw on canvas.
Somebody plz help me to find the assets folders
My stick rotates towards the cursor, but it doesn't pivot around the ball. What am I doing wrong?
Hi, can u build a 8 ball pool game for me
Hi, can u build a 8 ball pool game for me
at 21:25
for this code: <script>
loadAssets(PoolGame.start);
</script>
I'm getting this error code: Uncaught ReferenceError: loadAssets is not defined
at index.html:20
Anyone can help?
Discord= harison#1337
can i have the html code
can you help me with gameplay
hi how can I sell my JavaScript game
Which is the key to push ball?
This lesson is awesome !
Begginers lessons Didnt shown various elements like this 😁
İ dont aggre with that We should start with basics if you are familier to codes you can try to understand this maybe you would do
how we can download assets folder
my pool table image isnt displaying when i refresh
Why can't u just minus origin.x from position.x instead of save, translate n all stuff.
many thank sir
want a multiplayer 8 ball pool script with customization. let me know if u would be interested to work on it.
can I use your code to my project
Sir i am Monoj from india sir i want to develop 8 ball pool game so can you develop me 8 ball pool game please tell me.!!
I want to make develop game from you please tell me sir!!
Hi chat me on +254 712991618 am looking for a pool developer
The project is awesome can you please provide zip code of the project
Business Opportunity in Ruvol
I have invented a Board Game [still unpublished and not yet out in the market] that I believe is guaranteed to be as challenging and exciting as CHESS. I called it “RUVOL.”
It is my hope that one day Ruvol may surpass chess as the “Number One Board Game in the World.”
The weakness of chess is it always starts in fixed positions that the opening moves become “memorizable.” In fact, not a few have so mastered the moves that they can play against their opponents “blindfolded.” It is for this very reason that the great Bobby Fischer introduced his so-called “Fischer Random Chess,” where the starting position of the pieces is “randomized” to make the memorization of openings impracticable. Fortunately, it is also for this reason that I invented Ruvol where “every game” has been calculated to be a challenging one to play.
HOW IS RUVOL PLAYED and HOW YOU CAN MONETIZE IT?
I detailed everything in my YouTube video. Here is the link: https://www.youtube.com/watch?v=jcqth0m3-R0
BIG MONEY POTENTIAL IN RUVOL!
It is worthwhile to note that the people who play chess will be the same people who will play Ruvol. In my Google search, I learned there are around 800 million chess players in the world. Even just a small percentage of these 800 million is good enough to earn big money from Ruvol either as an ONLINE GAME BUSINESS or as a PHYSICAL PRODUCT DISTRIBUTOR.
You may contact me at: rodolfovitangcol@gmail.com.
Thanks and God bless!
RODOLFO MARTIN VITANGCOL
The Ruvol Inventor
please tell us that where to get the assets images from