Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

2048 in OCaml

License

NotificationsYou must be signed in to change notification settings

pyx/2048-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A clone of2048, implemented inOCaml.

Features

  • Cross-platform GUI with no external dependency, using graphics library thatcomes with OCaml

  • Text (ascii) output as well

  • Gameplay actions implemented asmonadic functions, for example, to placetwo new tiles:

    playing board>>= spawn>>= spawn

Requirements

To compile

Installation

Gentoo

There are ebuilds come with 2048-ml for each tagged release.

They can also be found (along with Manifest) in my personal overlay:

Mercurial:
https://bitbucket.org/pyx/overlay
Git:
https://github.com/pyx/overlay.git

With properly added ebuild:

emerge --ask 2048-ml

From Source

Compile

make

Install

make install

License

BSD New, see LICENSE for details.

Links

Project:
http://xrefactor.com/projects/2048-ml
Issue Tracker:
https://bitbucket.org/pyx/2048-ml/issues/
Mercurial Repository on Bitbucket:
https://bitbucket.org/pyx/2048-ml/
Git Repository on Github:
https://github.com/pyx/2048-ml/

[8]ページ先頭

©2009-2025 Movatter.jp