Skip to content
/ Rustris Public

Tetris made in WASM and Rust, with help of JetBrains AI to evaluate the AI service

License

Notifications You must be signed in to change notification settings

Yrlish/Rustris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project: JetBrains AI Evaluation

This project was designed to evaluate the capabilities of JetBrains' AI, particularly in its assistance for software development tasks, integration, and overall user experience enhancement.

The project is a Tetris game built using Rust and WebAssembly (WASM).

Project Overview

The project utilizes Rust as the primary programming language and includes several dependencies and tools for development. It was built to assess how effectively JetBrains' AI could be used as a tool in IntelliJ IDEA for writing, debugging, and improving code, as well as handling developer queries in real-time.

Dependencies

The following dependencies are used in this project:

Tools & Environment

  • Rust Version: 1.83.0
  • IntelliJ IDEA: 2024.3.1.1 (Ultimate Edition)

Key Features

  • A basic implementation of the classic Tetris game.
  • Written entirely in Rust and compiled to WebAssembly (WASM).
  • Runs directly in the browser by leveraging modern WASM capabilities.
  • Includes essential game mechanics such as piece movement, rotation, and line clearing.

How to Build and Use

Prerequisites

Ensure that you have the following installed:

  • Rust programming language (rustup recommended)
  • wasm-pack for building WebAssembly output
  • A static file server or hosting environment to serve the WebAssembly output

Build the Project

  1. Clone the repository:
    git clone <repository-url>
    cd <repository-name>
  2. Build the project using wasm-pack:
    wasm-pack build --target web

Use the WebAssembly Output

Host the generated WebAssembly and JavaScript bindings using a static file server, such as:

python3 -m http.server

Open the browser at the appropriate URL to load the Tetris game.


License

This project is licensed under the MIT License. For more details, refer to the LICENSE file in the repository.


About

Tetris made in WASM and Rust, with help of JetBrains AI to evaluate the AI service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published