Matrix Poker

Game: fill 5x5 matrix with random numbers to get maximum score by forming premium combinations.

이 제출물을 팔로우합니다

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 (2026). Matrix Poker (https://kr.mathworks.com/matlabcentral/fileexchange/3168-matrix-poker), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Signal Processing에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.21.0.1

Updated colors of some elements.

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.