International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
Volume 54 - Issue 11 |
Published: September 2012 |
Authors: Abejide Olu Ade-Ibijola |
![]() |
Abejide Olu Ade-Ibijola . A Simulated Enhancement of Fisher-Yates Algorithm for Shuffling in Virtual Card Games using Domain-specific Data Structures. International Journal of Computer Applications. 54, 11 (September 2012), 24-28. DOI=10.5120/8612-2469
@article{ 10.5120/8612-2469, author = { Abejide Olu Ade-Ibijola }, title = { A Simulated Enhancement of Fisher-Yates Algorithm for Shuffling in Virtual Card Games using Domain-specific Data Structures }, journal = { International Journal of Computer Applications }, year = { 2012 }, volume = { 54 }, number = { 11 }, pages = { 24-28 }, doi = { 10.5120/8612-2469 }, publisher = { Foundation of Computer Science (FCS), NY, USA } }
%0 Journal Article %D 2012 %A Abejide Olu Ade-Ibijola %T A Simulated Enhancement of Fisher-Yates Algorithm for Shuffling in Virtual Card Games using Domain-specific Data Structures%T %J International Journal of Computer Applications %V 54 %N 11 %P 24-28 %R 10.5120/8612-2469 %I Foundation of Computer Science (FCS), NY, USA
Generally stated Algorithms are often preferred because of their wider horizon of applications owing to their freedom from any underlying language specification – they are not tied to any language and are easily implemented by anybody on any machine. This advantage becomes a hitch in applications where optimal implementation is of paramount concern – such as in games, as the developer's chosen language might suggest a better implementation that alters the algorithm using predefined data structures and/or sometimes, libraries of the preferred language. In this paper, a reconsideration of the Fisher-Yates Shuffle Algorithm was carried out using the "Generic List" data structure of the . Net library, an enhanced version of the Algorithm was drawn that targets a . Net implementation, a graphical simulation was developed using a "built-from-scratch" deck of Virtual Cards for the game of Whot! and a satisfactory permutation was achieved.