A Fair Game of Blackjack between Two Players

It is possible for two players to use cryptographic techniques to play a fair game of Blackjack without having to trust the other player or use a trusted intermediary. The cards a player receives are random and at the end of the game both players are able to confirm that the other player’s score accurately reflects the other player’s cards. I will begin with a general discussion of the technique, then move into an examination of the program that implements it. Logs from an example game and the code for the project are included at the end.

Continue reading

Posted in Projects, Technology | Leave a comment

Chess AI Project

A screenshot of my chess game.

The Chess AI program I wrote is capable of playing through a full game of chess. The human player takes the side of white, and the computer will respond with black’s moves. The game can look an arbitrary number of moves (plies) into the future to select the best move. It uses four plies by default and takes between 10 and 90 seconds to make a move depending on the complexity of the current position. The game is written in C++ using SDL for graphics.

Continue reading

Posted in Projects, Technology | Leave a comment

Lands of Marvels and Monsters: The Far East in the Medieval European Imagination

As a research prospectus I wrote for my historiography and historical methods class, this piece is not quite a finished essay. Nevertheless, I love the subject and believe others will enjoy reading through it. If you’re working on a similar project, the annotated bibliography should be quite useful. The numbers scattered throughout the text refer to the notes at the bottom.

To medieval Europe, Asia was a distant land of marvels, inhabited by strange creatures as well as monstrous races of humans. The difficulty of travel prevented more than a trickle of European visitors, and it seems that even the few accurate accounts of the region did little to change these views. Europeans based their image of Asia on ancient accounts inherited from Greece and Rome, and filtered these ideas through the lens of Christianity. The view of Asia in Medieval Europe does not seem to receive much attention; it is often relegated to the role of setting a foundation for examination of European colonialism that occurred in later centuries. Nevertheless, there are plenty of secondary sources that cover aspects of the issue to some extent. There are also a fair number of primary sources to draw from, and though finding something truly unique in the well-known sources available would be unlikely, a new take on the sources might be possible. Rather than separating them, I have included my discussion of the primary sources alongside the secondary sources that seem relevant.

Continue reading

Posted in Culture, History | Leave a comment

Circular Migration as a Means of Challenging Social Hierarchies in India

Circular migration refers to the practice of temporarily traveling some distance in order to work. The distance and duration of the stay vary from a nearby town, traveled in a single day, to months or years spent in a remote location. The number of migrants in India has been estimated between 12 and 30 million, and the figure is believed to be rising (Bird N.pag.). While many migrants are forced into their situation by economic necessarily, this paper will focus on a different type of migrant. To these people, circular migration may not necessarily provide economic improvement, but it presents an opportunity to escape the confines of traditional social and economic relationships that dominate their lives. The essay will also examine problems associated with migration that must be balanced against its potential rewards.

Continue reading

Posted in Culture | Leave a comment

Review of That Noble Dream

Peter Novick’s That Noble Dream: The “Objectivity Question” and the American Historical Profession traces the intellectual and institutional developments of the American historical profession from its inception in the late nineteenth century up to the late twentieth century. The central theme of the book concerns the changing attitudes towards the concept of historical objectivity. Novick describes objectivity as “sprawling collections of assumptions, attitudes, aspirations, and antipathies” (1). The essential idea of objectivity is that there is a true past that can be discovered by historians, and that the facts associated with that history are not dependent on the values of the historian that discovers or interprets them (1-2). The narrative Novick crafts out of the hundred years he covers is, despite his apologetic statement about discussing only the more prominent historians, both comprehensive and cohesive. His research is consistently strong throughout the book. While not the liveliest of authors, Novick’s presentation is always clear and approachable. Altogether it is a remarkable piece of scholarship that should serve equally well as an introduction to the history of the historical profession and as resource for more serious researchers.

Continue reading

Posted in Books, History | Leave a comment