IMPLEMENTATION OF LINEAR CONGRUENTIAL GENERATOR ALGORITHM IN A WEBSITE-BASED MATHEMATICS EDUCATIONAL GAME
Keywords:
educational game, linear congruential generator, mathematics, Website-BasedAbstract
This study aims to design and develop a website-based mathematics educational game called MathQuest by implementing the Linear Congruential Generator (LCG) algorithm as a question randomization mechanism. The research method used is Research and Development (R&D) with the Waterfall development model. The system was built using PHP and MySQL with the LCG formula: X(n+1) = (a x Xn + c) mod m, with parameters a=7, c=3, and modulus adjusted per difficulty level. Testing involved 30 Grade VII students at UPTD SMP Negeri 1 Rahuning using a One Group Pretest-Posttest design. Black Box Testing across 14 functional scenarios confirmed all features passed. Descriptive statistical analysis showed a pre-test mean of 35.87 and a post-test mean of 34.83, with post-test standard deviation (4.43) smaller than pre-test (4.90), indicating more uniform score distribution after the intervention. The system successfully delivered dynamic question variations through LCG, enhanced learning motivation via gamification, and provided easy access for both students and teachers.
Keywords: Linear Congruential Generator; Educational Game; Web Application; Mathematics; Pseudorandom Numbers
References
Bloom, B. S. (Ed.). (1956). Taxonomy of educational objectives: Handbook I, Cognitive domain. New York: David McKay.
Deterding, S., Dixon, D., Khaled, R., & Nacke, L. (2011). From game design elements to gamefulness: Defining “gamification”. Proceedings of the 15th International Academic MindTrek Conference, 9–15.
Gee, J. P. (2003). What video games have to teach us about learning and literacy. New York: Palgrave Macmillan.
Hull, T. E., & Dobell, A. R. (1962). Random number generators. SIAM Review, 4(3), 230–254.
Knuth, D. E. (1997). The art of computer programming, Volume 2: Seminumerical algorithms (3rd ed.). Boston, MA: Addison-Wesley.
Lehmer, D. H. (1951). Mathematical methods in large-scale computing units. Annals of the Computation Laboratory of Harvard University, 26, 141–146.
Marsaglia, G. (2003). Xorshift RNGs. Journal of Statistical Software, 8(14), 1–6.
Matsumoto, M., & Nishimura, T. (1998). Mersenne Twister: A 623-dimensionally equidistributed uniform pseudo-random number generator. ACM Transactions on Modeling and Computer Simulation, 8(1), 3–30.
OECD. (2023). PISA 2022 results (Volume I): The state of learning and equity in education. Paris: OECD Publishing. https://doi.org/10.1787/53f23881-en
Park, S. K., & Miller, K. W. (1988). Random number generators: Good ones are hard to find. Communications of the ACM, 31(10), 1192–1201.
Prensky, M. (2001a). Digital natives, digital immigrants part 1. On the Horizon, 9(5), 1–6.
Prensky, M. (2001b). Digital game-based learning. New York: McGraw-Hill.
Sugiyono. (2019). Metode penelitian kuantitatif, kualitatif, dan R&D. Bandung: Alfabeta.
Sweller, J. (1988). Cognitive load during problem solving: Effects on learning. Cognitive Science, 12(2), 257–285.
von Neumann, J. (1951). Various techniques used in connection with random digits. In Monte Carlo method (Applied Mathematics Series 12, pp. 36–38). Washington, DC: National Bureau of Standards.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Mhd Arpandi, Khairuddin Nasution, Darjat Saripurna

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.




