Giter Site home page Giter Site logo

netwire-classics's Introduction

netwire-classics

Classic games recreated in netwire

Download and Install Nix

https://www.domenkozar.com/2014/01/02/getting-started-with-nix-package-manager/

https://gist.github.com/iElectric/8217950 - Nix install script

Alternatively install NixOS

http://nixos.org/nix/download.html

#####Install nix

#subscribe to nixpkgs-unstable channel
nix-channel --add http://nixos.org/channels/nixpkgs-unstable
#download current nix expressions
nix-channel --update
#update packages of user profile from downoaded nix expressions
nix-env -u '*'

###Compile netwire-classics using Nix

To compile add required LICENSE file to asteroids folder. Then in the netwire-classics folder run:

nix-build

netwire-classics's People

Contributors

bgamari avatar caryoscelus avatar cessationoftime avatar ocharles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netwire-classics's Issues

Hidden dependency of ka1.ttf

Strange font there, had to download a copy of it from someplace else to get it working. Maybe consider including it in the repo.

Cannot build asteroids

I tried building asteroids with GHC 7.8.3, with Cabal sandbox, and failed. I suppose the whole repo should indicate what versions of GHC it can build with.

[14 of 16] Compiling Graphics.UI.SDL.Events ( dist/dist-sandbox-39727611/build/Graphics/UI/SDL/Events.hs, dist/dist-sandbox-39727611/build/Graphics/UI/SDL/Events.o )

Graphics/UI/SDL/Events.hsc:56:23:
    Module ‘Data.Typeable’ does not export ‘Typeable(typeOf)’

building netwire-classics

I'm sure I'm missing something trivial, but I'm not sure how to build this.

I tried using nix, but I get:

$ nix-shell
error: attribute ‘cabal’ missing, at /src/netwire-classics/default.nix:4:4

$ nix-env -q
cabal-install-1.22.6.0
cabal2nix-20150922
ghc-7.10.2
nix-1.10

modernize to netwire 5

It would be nice to be able to use the latest netwire library version 5 with netwire-classics.

trouble installing with cabal

I get the following error:

Building asteroids-0.1.0.0...
Preprocessing executable 'asteroids' for asteroids-0.1.0.0...
[2 of 3] Compiling Sounds           ( Sounds.hs, dist/build/asteroids/asteroids-tmp/Sounds.o )

Sounds.hs:29:10:
    Not in scope: `cycleW'
    Perhaps you meant one of these:
      `cycle' (imported from Prelude),
      `cycle1' (imported from Control.Wire)

Sounds.hs:35:12: Not in scope: `mkFix'

Sounds.hs:43:14: Not in scope: `keep'

Sounds.hs:47:33:
    Not in scope: type constructor or class `Time'
    Perhaps you meant `Timed' (imported from Control.Wire)

Sounds.hs:48:24: Not in scope: `require'

Sounds.hs:48:39: Not in scope: `integral_'

Sounds.hs:54:8: Not in scope: `mkFix'

Sounds.hs:57:34:
    Not in scope: type constructor or class `MonadRandom'

Sounds.hs:61:28:
    Not in scope: type constructor or class `MonadRandom'

Sounds.hs:65:30:
    Not in scope: type constructor or class `MonadRandom'

Sounds.hs:70:9: Not in scope: `mkFix'

Sounds.hs:88:18:
    Not in scope: type constructor or class `WireM'
    Perhaps you meant one of these:
      `Wire' (imported from Control.Wire),
      `WireP' (imported from Control.Wire)

Sounds.hs:90:17:
    Not in scope: `counterSession'
    Perhaps you meant one of these:
      `countSession' (imported from Control.Wire),
      `countSession_' (imported from Control.Wire)
Failed to install asteroids-0.1.0.0
cabal: Error: some packages failed to install:
asteroids-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1

Any ideas? Arch Linux, GHC 7.6.3

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.