Commit c1eee3bc authored by ticki's avatar ticki

Merge branch 'master' of github.com:redox-os/games-for-redox

parents a1033efe c2475108
......@@ -2,7 +2,7 @@
This repository contains a bunch of minigames running on Redox OS.
[![Travis Build Status](https://travis-ci.org/redox-os/games-for-redox.svg?branch=master)](https://travis-ci.org/redox-os/games-for-redox)
[![Travis Build Status](https://travis-ci.org/redox-os/games.svg?branch=master)](https://travis-ci.org/redox-os/games)
## What we got.
......
#![feature(iter_arith)]
#[macro_use]
extern crate extra;
use extra::io::WriteExt;
use std::collections::HashMap;
use std::io::{self, BufRead, Write};
use std::io::{self, BufRead, BufReader, Write};
use std::mem;
/// The number of factors.
......@@ -240,7 +238,7 @@ impl Game {
let stdout = io::stdout();
let mut stdout = stdout.lock();
let mut lines = stdin.lock().lines().map(|x| x.unwrap());
let mut lines = BufReader::new(stdin.lock()).lines().map(|x| x.unwrap());
stdout.writeln("<< Welcome to Dem, the commandline-based Democracy clone. 'help' for help. >>".as_bytes()).unwrap();
loop {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment