Coder Social home page Coder Social logo

ziloka / tetris Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.08 MB

A port of four-tris

Home Page: https://ziloka.github.io/tetris/index.html

License: MIT License

Dockerfile 0.02% Rust 2.85% Shell 0.06% JavaScript 45.37% HTML 50.65% CSS 1.05%
game game-development games stacker stacker-game tetris tetris-clone tetris-game four-tris

tetris's Introduction

Something similar to four-tris

Notes

The coordinate system is in the center of the screen

Everything is drawn every frame

Press ESC to open settings to change the controls Press F3 if you want to see debugging information

Tetris Guideline spefications are followed as closely as possible They are available via here

Logging

Contributing

During development run

cargo install cargo-watch
cargo watch -x run

to achieve hot code reloading

Use Act To test github actions

docker build --no-cache --tag ziloka/tetris:act-20.04 .
# docker scout quickview
act --platform ubuntu=latest=ziloka/tetris:act-20.04 --pull=false --artifact-server-path tmp/artifacts
# act --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:rust-22.04 --artifact-server-path tmp/artifacts

Inspiration taken from

https://github.com/vlang/v/tree/master/examples/tetris

https://github.com/corbamico/bevy-tetris

https://github.com/zigurous/unity-tetris-tutorial

https://github.com/JohnnyTurbo/LD43

Wallkicks

https://www.youtube.com/watch?v=yIpk5TJ_uaI

After 37 minutes On windows the memory goes from 50mb to 2015mb

https://github.com/thesilican/tetris-ai

tetris's People

Contributors

ziloka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.