/traderous

To get this branch, use:
bzr branch /bzr/traderous

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-06-30 21:40:21 UTC
  • Revision ID: josh@9ix.org-20130630214021-mw2vr14czefr09zb
set prices based on distance

Show diffs side-by-side

added added

removed removed

22
22
require 'pause_view'
23
23
require 'game_over'
24
24
require 'names'
 
25
require 'good'
25
26
 
26
27
util = {
27
28
   signOf = function(value)
79
80
                                 })
80
81
                 end
81
82
 
 
83
                 Good:stockPlanets()
 
84
 
82
85
                 -- build fresh player
83
86
                 local player = SpacePlayer:new{x=the.bg.width / 2, y=the.bg.height / 2}
84
87
                 the.player = player