GithubHelp home page GithubHelp logo

sdzx-1 / frag Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rainbyte/frag

0.0 0.0 0.0 15.97 MB

Frag is a 3D first person shooting game written in Haskell, by Mun Hon Cheong

License: GNU General Public License v2.0

Haskell 99.98% GLSL 0.02%

frag's Introduction

GIF Preview

Author: Mun Hon Cheong ([email protected])

Program: Frag - a FPS i put together using Haskell and with Yampa

Year: 2005, 2007-8

License: GPL

Requirements

  • A graphics card with support for multitexturing and vertex arrays
  • Debian/Ubuntu Linux: $ sudo apt-get install freeglut3-dev

Building

Stack

$ stack install
$ stack build

GHC

ghc --make -O2 -fglasgow-exts main.hs

runhaskell

runhaskell Setup configure --user --prefix=/home/foo
runhaskell Setup build
runhaskell Setup install

Usage

$ frag leveleg

leveleg can be an arbitrary Quake III Arena level; a default level is provided in this package, and is installed at the project root. For example, if installed into ~/bin, and frag occupies ~/bin/frag, a successful invocation might be frag ../share/frag-1.1/leveleg.

Controls

  • w forward

  • s back

  • a strafe left

  • d strafe right

  • e jump

  • z/x lock / unlock mouse

  • Mouse0 (left click) fire


cheers, Mun

frag's People

Contributors

rainbyte avatar donsbot avatar hasufell avatar bchase avatar lettier avatar gwern avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.