Categorygithub.com/Let-sCodeSomething/goboy
modulepackage
0.0.0-20221016211005-9480156f6350
Repository: https://github.com/let-scodesomething/goboy.git
Documentation: pkg.go.dev

# README

GoBoy

Go Report Card version

⚠️Currently, In Development⚠️

Game boy emulation with golang

Control Key

KeyAction
ArrowUPUp
ArrowDownDown
ArrowLeftLeft
ArrowRightRight
a OR qA
z OR wB
EnterStart
SpaceSelect
RChange Game

Usage

for normal run

$ go run .

for debug run

$ go run . -d

Create your Game Boy in Go

package main

import (
    goboy "github.com/Let-sCodeSomething/goboy/gb"
)


func main() {
	gb := new(goboy.Goboy)
	// mode :
	//		"debug" = open window with debugging information
	// 		"normal" = open the simple game window
	err := gb.Init("you path of rom", "normal")
	
	if err != nil {
        panic(err)
    }	
	// start game
	go gb.Run()
	
	// for open window
	gb.WindowMode()
	// or for get the current frame
	// gb.APIMode()
}

Collaborators

# Packages

No description provided by the author
No description provided by the author