© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Zachary Danziger|
Object: Roll dice for scoring combinations and get the highest total score.
This text-based command window Yahtzee game was inspired by a few of the other submissions on this site. This version has the following features:
- High scores list
- Multi-player versus option
- Stable, pleasing and intuitive interface
- Conforms to all official Yahtzee rules (including bonus Yahtzee joker scoring:...
Searches a string for field names contained in a given structure, then replaces each occurrence of the field name with the corresponding field value.
I use this for dynamically changing the titles on my plots during simulations that...
Mesmerize is largely a tribute to the many-faceted plotting features of MATLAB. Call this function to be entertained by exciting figures that always have subtle new elements and amusing titles. Don't let your frustrating day get the best of you,...
The Frechet distance is a measure of similarity between two curves, P and Q. It is defined as the minimum cord-length sufficient to join a point traveling forward along P and one traveling forward along Q, although the rate of travel for either...
The iterated prisoner's dilemma (IPD) game has long been studied in game theory, economics, programming, decision theory and other fields. It is a 2-player scenario where each player must decide to either 'cooperate' or 'defect' in a sequence of...
[nr nc] = BestArrayDims(n)
Given n elements, BestArrayDims returns the dimensions of an array in which to store them. The function also accepts user preferences as to whether they require less wasted space or a more square configuration.
A matrix of symbolic elements is reasonably useful for many analytic linear algebra applications, and for analytic vector, matrix and tensor differentiation.
This function produces a matrix of arbitrary dimension of symbolic elements...
The vectorized transpose matrix, Tmn, is the matrix that permutes the vectorization of an m#n matrix A into its transpose vectorization. For example, if the vectorization of A is defined as vec(A), or A(:), then Tmn*vec(A) = vec(A').
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.