Make a 2D Side-Scroller Game With PyGame

In this course, you’ll learn about creating games using Python and the library PyGame. By the end of this course, you’ll be able to: Draw items on your screen Play sound effects and music Handle user input Implement event loops Describe how game programming differs from standard procedural Python programming This primer assumes you have a basic understanding of writing Python programs, including user-defined functions, imports, loops, and conditionals. You should also be familiar with how to open files on your platform. A basic understanding of object-oriented Python is helpful…

Read More
css 

How to Build a Tic Tac Toe Game with Svelte

Svelte is a next generation way of building user interfaces. While frameworks like React, Vue and Angular do the bulk of their work in the browser, Svelte takes it to the next level. It does its work when you build the app and it compiles your Svelte app to efficient vanilla JavaScript. So you get the best of both worlds. You write your code in Svelte which makes it easy to read, re-use and all the other benefits you get when you use a framework, and it makes for a…

Read More
Programming 

PyGame: A Primer on Game Programming in Python

When I started learning computer programming late in the last millennium, it was driven by my desire to write computer games. I tried to figure out how to write games in every language and on every platform I learned, including Python. That’s how I discovered pygame and learned how to use it to write games and other graphical programs. At the time, I really wanted a primer on pygame. By the end of this article, you’ll be able to: Draw items on your screen Play sound effects and music Handle…

Read More
css 

JavaScript Tic Tac Toe Game

In this tutorial, I will tell you how to build a basic tic tac toe game using HTML, CSS and JavaScript. Most of the people know that when we were kids we used to play this game on paper. We played it many times till we win. Those who don’t know about this game let me give you little overview. In this game there are two players, the player who makes three of their marks in row and column or one of the two diagonals wins the game. When the…

Read More