Matrix Poker

版本 1.21.0.0 (20.2 KB) 作者: Igor Podlubny
Game: fill 5x5 matrix with random numbers to get maximum score by forming premium combinations.
4.5K 次下载
更新时间 2016/10/28

查看许可证

Matrix Poker is a combination of hazard and combinatorial thinking. The game consists in filling the game board with random numbers (from 1 up to 13) to get a maximum score by forming premium combinations in rows, columns, and on two diagonals.
HOW TO PLAY
To start the game, run MATPOKER.M. You will see 25 empty green cells surrounded by 24 gray cells. Above them there are three buttons ("New", "Count", "Help"), and a green cell with a random number between 1 and 13.
Look at that number in the upper-left corner of the game window and click on an empty cell to place the number. Repeat this step until all green cells are filled by numbers, and try to create as many premium combinations as
possible. After filling all cells, click on "Count" button to see your score. The abbreviations of formed premium combinations, and their values will appear in surrounding gray cells.
To see the rules and the table of premium combinations in your default web browser, click on "Help" button.
To start a new game, click on "New".

(C) 2002-2003, Igor Podlubny (corresponding author, igor.podlubny@tuke.sk), Peter Konecny (peter.konecny@email.cz)

CHANGES:

September 22, 2003:
Slightly updated to work properly with Matlab R11, R12, and R13.

October 6, 2016:
The code has been updated by Matej Mikulszky,
student, Technical University of Kosice, BERG Faculty,
e-mail: matej.mikulszky@student.tuke.sk,
to make the game window resizable.

引用格式

Igor Podlubny (2024). Matrix Poker (https://www.mathworks.com/matlabcentral/fileexchange/3168-matrix-poker), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Signal Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

matpoker20161028/

版本 已发布 发行说明
1.21.0.0

Removed rudimentary 'clear' command, thanks to Carl Witthoft's comment.

1.2.0.0

The code has been updated to make the game window resizable.

1.0.0.0

Little text corrections.