fix board file path
This commit is contained in:
		
							parent
							
								
									ef89687779
								
							
						
					
					
						commit
						231612cce4
					
				| @ -1,5 +1,7 @@ | |||||||
| return { | return { | ||||||
|     board = "/home/reza/p/lua/22.sudoku/boards/veryhard/27.txt", |     board = { | ||||||
|  |         filePath = "boards/040.txt", | ||||||
|  |     }, | ||||||
|     window = { |     window = { | ||||||
|         bgColor = "FFFFFF", |         bgColor = "FFFFFF", | ||||||
|         width = nil, |         width = nil, | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								main.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.lua
									
									
									
									
									
								
							| @ -11,7 +11,7 @@ function love.load() | |||||||
|     love.mouse.setGrabbed(false) |     love.mouse.setGrabbed(false) | ||||||
|     love.keyboard.setKeyRepeat(true) |     love.keyboard.setKeyRepeat(true) | ||||||
|     math.randomseed(os.time()) |     math.randomseed(os.time()) | ||||||
|     local board = loadBoard("/home/reza/p/lua/22.sudoku/boards/veryhard/27.txt") |     local board = loadBoard(config.board.filePath) | ||||||
|     local width, height = love.graphics.getDimensions() |     local width, height = love.graphics.getDimensions() | ||||||
|     sudokuCanvas = SudokuCanvas:new(200, 100, height/1.5, config.SudokuCanvas) |     sudokuCanvas = SudokuCanvas:new(200, 100, height/1.5, config.SudokuCanvas) | ||||||
|     sudokuCanvas:setBoard(board) |     sudokuCanvas:setBoard(board) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user