Skip to content

Commit

Permalink
Add Pytris to the list of games
Browse files Browse the repository at this point in the history
  • Loading branch information
Longestboi committed Jul 15, 2024
1 parent 7f95b17 commit c32d756
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
Binary file added content/games/pytris/Logo.webp
Binary file not shown.
Binary file added content/games/pytris/bkg.webp
Binary file not shown.
23 changes: 23 additions & 0 deletions content/games/pytris/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: "Pytris"
titleImageOverride: "Logo.webp"
titleImageStyle: "width: 40%; height: auto; margin: auto;"
date: 2024-07-14
type: page
summary: "A Tetris clone written in a custom performant Python engine made with Pygame"
roles: ["Creator", "Programmer"]
genre: "Puzzle"
pannelImage: "pytris-comp.webp"
bannerImage: "bkg.webp"
---

# Tetris Clone
_Pytris_ is a clone of the classic tetromino puzzle game Tetris. I built this game because my previous attempt at making a Tetris clone was incomplete. For this attempt, I've written an engine to be as performant as Python will allow me to, barring the usage of any JIT compilation techniques.

I've achieved this by utilizing Pygame's built-in sprite type, `DirtySprite`, and the `LayeredDirty` sprite group. The "Dirty" part of these types denotes when or if the sprite should get redrawn, stopping the renderer from wasting time constantly redrawing some sprites, like backgrounds and other static objects.

# Video (?)
*Video of it here???*

# Game
*Link or embedded game here...*
Binary file added content/games/pytris/pytris-comp.webp
Binary file not shown.

0 comments on commit c32d756

Please sign in to comment.