semvec/pypi-packages huggingface dataset:
othelloc 0.2.3
C library for Othello game
License: MIT

# OthelloC
Python library of C implementation of Othello

# Usage
```python
from othelloc import Othello
game = Othello()
game.print_board()
cur_player = game.cur_player()
game.make_move(cur_player, game.get_possible_moves(cur_player)[0])
game.print_board()
```

# Installation
```bash
pip install othelloc
```
# Classes
## Othello()
The base game class, which contains the board and the current player.

# Methods

## get_starting_board()
Returns the starting board position.

## copy()
Returns a deep copy of the current game.

## make_move(player, move)
Makes a move for the player. The move is a tuple of (row, col).

## is_game_over()
Returns 1 if the game is over, otherwise 0.

## get_winner()
Returns the winner of the game, or 0 if the game is not over.

## get_possible_moves(player)
Returns a list of possible moves for the player. The moves are tuples of (row, col).

## get_score()
Returns the score of the game. The score is a tuple of (black, white).

## tiles_to_flip(player, move)
Returns a list of tiles that will be flipped if the player makes the move. The move is a tuple of (row, col).

## print_board()
Prints the board, the current player and the score.

## print_moves(player)
Prints the possible moves for the player.

## get_fen()
Returns the FEN string of the current game.

# Attributes

## board
The board of the game. 0 is empty, -1 is black, 1 is white.

## cur_player
The current player. -1 is black, 1 is white.
linlei04-mypkg1 1.0.5
My package description
License: MIT
Requires Python: >=3.7

# 说明

演示用

# 自动识别的文件

`setuptools`会自动识别以下文件并打包，无需在`MANIFEST.in`或`pyproject.toml`或任意文件包含，工具会自动识别

1. `README, README.rst, README.txt, README.md`等
2. `LICENSE`文件
micropython-ft6x36 0.1.0
Driver for the FT6x36
License: MIT
Keywords: micropython,ft6x36,FT6236,FT6336,FT6436L,FT6436,FocalTech Systems

# FT6X36 (FT6236/FT6336/FT6436L/FT6436)

This is a micropython module for self-capacitive touch panel controllers produced by FocalTech Systems.

## Thank

Part of the code is from [FT6336U-](https://github.com/vae-V/FT6336U-.git).