Skip to content

Luke256/TetriSys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TetriSys

概要

C++(OpenSiv3D)用テトリスライブラリ

使用方法

Tetris.cppTetris.hppを適当な場所に置く

依存ライブラリ

OpenSiv3D(v0.6.2)

コード例

# include <Siv3D.hpp> // OpenSiv3D v0.6.1
# include "Tetris.hpp"

void Main()
{
    TetriSys::Tetris tetris;

	while (System::Update())
	{
        tetris.update();
        tetris.draw();
        if(tetris.gameover()) tetris.reset();
	}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages