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