...

Source file src/code.rocket9labs.com/tslocum/bgammon/util.go

Documentation: code.rocket9labs.com/tslocum/bgammon

     1  package bgammon
     2  
     3  func minInt(a int8, b int8) int8 {
     4  	if b < a {
     5  		return b
     6  	}
     7  	return a
     8  }
     9  
    10  func maxInt(a int8, b int8) int8 {
    11  	if b > a {
    12  		return b
    13  	}
    14  	return a
    15  }
    16  

View as plain text