semvec/pypi-packages huggingface dataset:
satnacal 1.0.0
A CLI based advanced calculator with scientific operations.
Requires Python: >=3.8

# SatnaCal – Advanced Calculator Package

SatnaCal is a Python-based advanced calculator package that provides
basic and scientific mathematical operations using a simple
menu-driven command-line interface (CLI).

This package is beginner-friendly and useful for learning
Python functions, error handling, and packaging.

---

## 📦 Features

- Addition
- Subtraction
- Multiplication
- Division (with zero-division handling)
- Power calculation
- Square Root
- Factorial
- Trigonometric functions (sin, cos, tan)
- Menu-driven CLI calculator
- Proper exception handling

---

## Installation

```bash
pip install satnacal
tetris-terminal 0.1.2
A tetris game runs in the terminal
Requires Python: >=3.8

![gameplay](./gameplay.gif)  
[English](README.md) | [中文](README-cn.md)
# Tetris Terminal🎮
A terminal-based Tetris game written in Python using the `curses` library.

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Python 3.8+](https://img.shields.io/badge/Python-3.8%2B-blue)]()  

### Features
- Modern Tetris design following the [Tetris Design Guideline](https://dn720004.ca.archive.org/0/items/2009-tetris-variant-concepts_202201/2009%20Tetris%20Design%20Guideline.pdf)
    - [x] Extended Placement
    - [x] Next Piece Preview
    - [x] SRS System
    - [x] Piece Holding
    - [x] Shadow Piece
    - [x] Modern Scoring System
    - [x] Modern Level System

### Platform Support
Based on Python's [`curses`](https://docs.python.org/3/library/curses.html) module:
- ✅ **Linux/macOS**: Works out of the box
- ✅️ **Windows**: With [`windows-curses`](https://github.com/zephyrproject-rtos/windows-curses)

### Installation & Usage
```bash
pip install tetris-terminal
tetris
```

### Controls
| Key        | Action     |
|------------|------------|
| `a`, `←`   | Move left  |
| `d`, `→`   | Move right |
|`w`, `↑`,`x`| Rotate cw  |
|    `z`     | Rotate ccw |
| `s`, `↓`   | Soft drop  |
|  `space`   | Hard drop  |
|    `c`     | Hold       |
|    `q`     | Quit game  |

### License
MIT License - see [LICENSE](LICENSE) for details.

### Acknowledgements
Idea from [tinytetris](https://github.com/taylorconor/tinytetris) (a C implementation).

### Going to be implemented(Maybe)
1. pause and resume feature
2. start and game over ui
3. better display and sound
4. ...