Call for Paper - January 2024 Edition
IJCA solicits original research papers for the January 2024 Edition. Last date of manuscript submission is December 20, 2023. Read More

Optimization Algorithm in Traditional Card Game Rummy 21

International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Year of Publication: 2016
A. A. K. Oka Sudana, I. Gd. Km. Puja Aditya, I. Pt. Agus Eka Pratama

Oka A A K Sudana, Gd. Km. Puja I Aditya and Pt. Agus Eka I Pratama. Optimization Algorithm in Traditional Card Game Rummy 21. International Journal of Computer Applications 146(8):41-47, July 2016. BibTeX

	author = {A. A. K. Oka Sudana and I. Gd. Km. Puja Aditya and I. Pt. Agus Eka Pratama},
	title = {Optimization Algorithm in Traditional Card Game Rummy 21},
	journal = {International Journal of Computer Applications},
	issue_date = {July 2016},
	volume = {146},
	number = {8},
	month = {Jul},
	year = {2016},
	issn = {0975-8887},
	pages = {41-47},
	numpages = {7},
	url = {},
	doi = {10.5120/ijca2016910841},
	publisher = {Foundation of Computer Science (FCS), NY, USA},
	address = {New York, USA}


Everyone will want to get the best in life, maximize or optimize what owned to get something better. The best results are affected by the decision optimally taking into account all the constraints. This is became the basis for new breakthroughs in the game by developing the science of artificial intelligence (AI). How computer game can make the best decision by looking at the existing constraints or limitations. Algorithm optimization has fully supported the decision, using the object Balinese traditional card game Rummy 21. The main concept of the game Rummy 21 is to calculate the value of the card. Player gets a value of about 21, and not more than 21. Cards exceeds the number 21 does not qualify or fall. Decision-making in the game Rummy 21 is making the decision to add a card or survive on the value of the card now. Implementation of AI in this game is devoted to the single player game. The purpose of this study was to produce a game with AI features that can think like humans in solving problems while preserving the traditional game using the technology of mobile gaming.


  1. Adi, P. and Darma Putra, I K.G. "Game Block Bakar with Android-Based uses the Method LCG and LFSR." Journal of MERPATI, Vol. 03, No 03, ISSN 2252-3006, December 2015.
  2. Andrew G. "Bridges Between Deterministic and Probabilistic Models for Binary Data", Statistical Methodology 7, 187-209, 2010.
  3. Darryl, C. "Enhancing Gameplay: Challenges for Artificial Intelligence in Digital Games." Journal DiGRA, Vol. 02, ISSN 2342-9666, 2014.
  4. Hapnes T. and Billy K. "Applications Games Capsah Banting with Applying Minimax Algorithm." Journal Informatika, Vol. 04, No 1, pp.12-27, June 2008.
  5. Kusumadewi. "Artificial Intelligence (Techniques and Applications)." Graha Ilmu, Yogyakarta, 2003.
  6. Muhamad, D. "Artificial Intelligence." Journal SAINTIKOM, Vol. 05, No 02, pp. 185-197, 2008.
  7. Oka Sudana, A.A.K., Interview of "Traditional Card Game Rummy 21 Rules." Lecturers of Campus Information Technology, Udayana University Indonesia. (19 September 2015, At 13:30 pm)
  8. Petar Čisar. "Implementation of Immunological Algorithms in Solving Optimization Problems." Acta Polytechnica Hungarica, Vol. 11, No. 4, 2014.
  9. Reference for Balinese Traditional Games:
  10. Reference for Optimized Algorithm:
  11. Reference for Optimized Algorithm:
  12. Tjakra J., Arief S., and Daniel A. "Visual Design Rummy Cards for Soldiers Introduce Traditional Indonesian Biodiversity." Journal DKV Adiwarna, Vol. 01, No 02, 2013.


Card Games, Artificial Intelligence (AI), Optimization Algorithm, Single Player.